package Lesson17.Car;

public class Jeep extends Car 
{

	protected String type = "Jeep";
	Jeep()
	{
		super(180);
	}
	
	protected void switch4x4()
	{
		System.out.println(this.type);
		System.out.println(super.type);
		System.out.println("I'm 4x4 now");
	}
	
	protected void driveOffRoad()
	{
		System.out.println("I'm driving offroad");
	}
	@Override
	public String toString() 
	{
		return "Model: " + super.model + " Type: " + this.type; 
	}
}
